﻿using VisualWip.Core;
using VisualWip.Core.Columns;
using VisualWip.Core.Interfaces;

namespace VisualWip.PresentationModel.Text
{
    public class RichTextColumnSettingsViewModel : SettingsViewModelBase<RichTextColumn>
    {
        public RichTextColumnSettingsViewModel(Application application, RichTextColumn column, IColumnTypeProvider columnTypeProvider)
            : base(application, column,columnTypeProvider)
        {
        }

        public override string SettingsWindowName
        {
            get { return "Text column settings"; }
        }

        public string Document
        {
            get { return Column.Document; }
            set { Column.Document = value; }
        }
    }
}